﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace Pst_Backup_Agent
{
    internal class FileMessage
    {
        internal FileMessage()
        {
            this.LocalPath = String.Empty;
            this.RemotePath = String.Empty;
            this.Backup = false;
            this.ScheduledForBackup = false;
            this.Result = "Ping";
            this.Size = 0;
            this.CompressedSize = 0;
            this.Compressed = false;
            this.StartTime = DateTime.Now.ToUniversalTime();
            this.EndTime = DateTime.Now.ToUniversalTime();
            this.ErrorMessage = String.Empty;
        }

        internal Utilities.RegistryEntry File { get; set; }
        internal string LocalPath { get; set; }
        internal string RemotePath { get; set; }
        internal bool Backup { get; set; }
        internal bool ScheduledForBackup { get; set; }
        internal string Result { get; set; }
        internal long Size { get; set; }
        internal long CompressedSize { get; set; }
        internal bool Compressed { get; set; }
        internal DateTime StartTime { get; set; }
        internal DateTime EndTime { get; set; }
        internal string ErrorMessage { get; set; }
    }
}
